Repository navigation
refactor(build): replace the TypeScript search index with a page manifest - #164
Merged
Merged
Conversation
…fest The MCP server is moving to a standalone Python service (docs/adr/0001-mcp-server.md). Its indexer must not import the build's JavaScript, so the build now describes what it published instead of indexing it: - step 3b writes dist/_kb/pages.json (scripts/page-manifest.schema.json): every published page with its route, dist file, manifest title and section, and each app's name, description, tags, kind and source version; - the TypeScript index builder, in-memory adapters, their tests and the ESLint/Prettier/tsc lint tooling that only covered them are removed. Part of #117 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 13, 2026
lsulak
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
First of three PRs that rebuild the MCP server (#117) as a standalone Python service. The ADR comes in the next PR (
docs/adr/0001-mcp-server.md). The TypeScript implementation (#119, #129) is closed as superseded.The Python indexer must not import the build's JavaScript. So the build no longer indexes pages; it writes a manifest of what it published. That manifest, plus the HTML under
dist/, is the only interface between the Node build and the Python server.Stack: #164 (this PR, page manifest) ← #165 (Python MCP server) ← #166 (deployment).
Changes
scripts/page-manifest.js): writesdist/_kb/pages.json.scripts/page-manifest.schema.json(draft-07, no extra properties).404.htmlis excluded, and routes are deduplicated (index.htmlwins).mcp/,scripts/build-mcp.js);lintjob and those devDependencies..dockerignorekeepsdist/_kbout of the nginx image.tests/build-integrity.spec.jscheck that:Release Notes
dist/_kb/pages.json, a manifest of every published page and its app. The Python MCP server's indexer reads it.Verification
npm test: all passednpm audit --omit=dev --audit-level=high: cleanPart of #117
🤖 Generated with Claude Code